import { getMovie } from '../api/movie'
import { createMovieTags } from './list'
import { createPagers } from './pager'

async function init() {
  const resp = await getMovie(1, 50)
  createMovieTags(resp.data.movieList)
  createPagers(1, 50, resp.data.movieTotal)
}

init()  